<include file="__THEME__/header" />
<link rel="stylesheet" href="../Public/poster.css" type="text/css" media="screen" charset="utf-8" />
<div class="content_holder">
<div class="content no_bg"><!-- 内容 begin  -->
<include file="../Public/_mainNav" />
  <div class="main no_l"><!-- 画布 begin  -->
    <div class="mainbox">
      <div class="mainbox_appR">
        <div class="right_box box_create"><a href="{:U('poster/index/addPosterSort')}" class="btn_poster_c"></a></div>
		<include file="../Public/_isHotList" />
      </div>
      <div class="mainbox_appC">
		<div class="tab-menu"><!-- 切换标签 begin  -->
			<ul>
                <li><a href="{:U('//')}" <php>echo ($_GET['order']=='following')?NULL:'class="on"';</php>><span>最新{$ts['app']['app_alias']}</span></a></li>
                <li><a href="{:U('//',array('order'=>'following'))}" <php>echo ($_GET['order']=='following')?'class="on"':NULL;</php>><span>我关注的人的{$ts['app']['app_alias']}</span></a></li>
            </ul>
		</div><!-- 切换标签 end  -->
        
        <div class="boxL poster_boxL"><!-- 招贴列表begin  -->
    	 <div class="sort mt10 pb5 pt5" >
         <dl>
    	   <volist name="posterType" id="vo">
		     <dd><a href="{:U('//',array('pid'=>$vo['id']))}" <php>if($vo['id'] == $_GET['pid']) echo "class='on'";</php>>{$vo.name}</a></dd>
		   </volist>
           </dl>
           <div class="c"></div>
	     </div>
         
	      <php>if(!empty($type)){</php>
	          <div class="sort mb10" style="background-color:#fff; border-top:0;">
	            <dl><volist name="type" id="vo">
			      <dd><a href="{:U('//',array('pid'=>$_GET['pid'],'stid'=>$vo['id']))}" <php>if($vo['id'] == $_GET['stid']) echo "class='on'";</php>>{$vo.name}({$vo.count})</a></dd>
			    </volist>
                </dl>
	            <div class="c"></div>
		      </div>
	      <php>}</php>
  		  <ul class="search">
	  		<volist name="data" id="vo">
	       	  <li class="lineD_btm">
	          		<div class="left alC" style="padding:0 10px 0 0"><span class="headpic50"><space uid="vo.uid">{uavatar}</space></span><space uid="vo.uid">{uname}</space></div>
	       		<div class="left" style="width:65%;">
	   			  <h3><a href="{:U('//posterDetail',array('id'=>$vo['id']))}">{$vo.title}</a><if condition="$vo['type']"><span class="cGray2 f12px">[{$vo.type}]</span></if></h3>
	              <p>{$vo.content}</p>
	               <p>发布时间：{$vo.cTime|friendlyDate} </p>
	       		</div>
                    <div class="right pt10" style="width:70px;">
	                   <php>if($vo['deadline']&&$vo['deadline']<=time()){</php>
	                     <img src="../Public/images/icon_ygq1.gif" width="63" height="36" />
                       <php>}elseif(!empty($vo['cover'])){</php>
                         <img src="{:SITE_URL}/thumb.php?url={$vo['cover']}&w=68&h=52" />
                       <php>}else{</php>
                         <img src="../Public/images/list_zw.gif" width="68" height="52" />
                       <php>}</php>
                    </div>
	                <div class="c"></div>
	       	  </li>
       	  </volist>
        </ul>
        <div id="Pagination" class="page">{$html}</div>
      </div>
      </div>
    </div>
  </div>
  <div class="c"></div>
</div>
</div>
<!-- 内容 end -->
<include file="__THEME__/footer" />